package com.eleadin.ruleengine.utils;

import javax.validation.Valid;

/**
 * Created by GYJ on 2017-04-14.
 */
public class PageQueryVO<T> {
    private int pageNum;
    private int pageSize;
    @Valid
    private T filters;
    private String sort;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public T getFilters() {
        return filters;
    }

    public void setFilters(T filters) {
        this.filters = filters;
    }

    public String getSort()
    {
        return sort;
    }

    public void setSort(String sort)
    {
        this.sort = sort;
    }
}
